package asia.yuanding.wechat.web.service;

import asia.yuanding.wechat.system.exception.BusinessException;
import asia.yuanding.wechat.web.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.mail.MessagingException;

/**
* @author YuanDing
* @description 针对表【user】的数据库操作Service
* @createDate 2025-07-26 19:38:19
*/
public interface UserService extends IService<User> {

    void register(User user) throws BusinessException;

    void sendCode(String email) throws MessagingException;
}
